<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ include file="/WEB-INF/views/include/head.jsp"%>
<!DOCTYPE html>
<html style="overflow-x:hidden;overflow-y:auto;"><head>
<title>地址管理</title>		
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">        
<!-- Mobile Devices Support @begin -->
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
<meta content="no-cache" http-equiv="pragma">
<meta content="0" http-equiv="expires">
<meta content="telephone=no, address=no" name="format-detection">
<meta name="apple-mobile-web-app-capable" content="yes"> <!-- apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<link href="${ctxStatic }/site/themes/DianShangMuBan/css/boilerplate.css" rel="stylesheet" type="text/css">
<link href="${ctxStatic }/site/themes/DianShangMuBan/css/css.css" rel="stylesheet" type="text/css">
<script src="${ctxStatic }/site/themes/DianShangMuBan/js/jquery.min.js"></script>
<script src="${ctxStatic }/site/themes/DianShangMuBan/js/flat-ui.min.js"></script>
<script src="${ctxStatic }/site/themes/DianShangMuBan/js/application.js"></script>
<script type="text/javascript" src="${ctxStatic }/shopping/pccs.js"></script>
</head>

<body>
<div class="gridContainer clearfix"  style="margin-bottom:50px;" >
	<div id="LayoutDiv1"> 
	  <section >
		<dl class="order_dl2">
			<dt style="padding-left:40%">
				<a href="${ctxFront }/site/shopping/address?uid=${uid}&wechatId=${wechatId}&style=1">
					<span class="anniu3 Orange">+ 新建地址</span>
				</a>
			</dt>
		</dl>
		<c:forEach items="${addresseList}" var="address">
			<dl class="order_dl2">
				<dt style="float:left; width:10%">
					<c:if test="${address.selected eq 1 }">
		        		<span class="icon_enter"></span>
					</c:if>
					<c:if test="${address.selected ne 1 }">
		        		<span>&nbsp;</span>
					</c:if>
	      		</dt>
	      		<dt style="float:left; width:80%">
	        		<p><span class="icon_name font_left">&nbsp;&nbsp;${address.name}</span>
	        		<span class="icon_tel  font_right">&nbsp;${address.mobile}</span> </p>
	        		<p class="clear font999" style="padding:2%">${address.province}${address.city}${address.county}${fn:substring(address.detail,0,13)}</p>
	      		</dt>
	      		<dt style="float:right; width:10%">     
	      			<span class="icon_edit_red" onclick="window.location.href='${ctxFront }/site/shopping/address?uid=${uid}&wechatId=${wechatId}&id=${address.id}&style=1'">&nbsp;</span>
	      		</dt>
	    	</dl>   
    	</c:forEach>
	  </section>
	</div>
</div>
  <c:set var="choose" value="4"/>
 <%@ include file="/WEB-INF/views/modules/site/themes/DianShangMuBan/foot.jsp"%>
</body>
</html>
